export const setStore = (key: string, value: string) => {
  // localStorage.setItem(key, value)
  uni.setStorageSync(key, value);
};

export const getStore = (key: string) => {
  // return localStorage.getItem(key)
  return uni.getStorageSync(key);
};

export const removeStore = (key: string) => {
  // localStorage.removeItem(key)
  uni.removeStorageSync(key);
};

export const clear = () => {
  // localStorage.clear()
  uni.clearStorageSync();
};
